package cn.iocoder.yudao.module.ems.controller.admin.spares.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 备品备件 Excel VO
 *
 * @author dason
 */
@Data
public class SparesExcelVO {

    @ExcelProperty("备品备件id")
    private Long id;

    @ExcelProperty("物料编号")
    private String itemNo;

    @ExcelProperty("备品备件名称")
    private String name;

    @ExcelProperty("规格型号")
    private String specification;

    @ExcelProperty("库存数量")
    private Integer amount;

    @ExcelProperty("上限")
    private Integer upperLimit;

    @ExcelProperty("下限")
    private Integer lowerLimit;

    @ExcelProperty("采购周期")
    private Integer cycle;

    @ExcelProperty("采购周期单位")
    private Integer cycleUnit;

    @ExcelProperty("更换周期")
    private Integer changeCycle;

    @ExcelProperty("更换周期单位")
    private Integer changeCycleUnit;

    @ExcelProperty("品牌")
    private String brand;

    @ExcelProperty("类别id")
    private Long classificationId;

    @ExcelProperty("仓库id")
    private Long storeId;

    @ExcelProperty("单价")
    private Long price;

    @ExcelProperty("标签码")
    private String labelingCode;

    @ExcelProperty("附件")
    private String enclosure;

    @ExcelProperty("图片")
    private String image;

    @ExcelProperty("备注")
    private String remarks;

    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("common_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

    @ExcelProperty("创建时间")
    private Date createTime;

}
